<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main</title>
<load href='__PUBLIC__/Css/admin.css' />
<load href='__PUBLIC__/Js/admin_vote.js' />
</head>
<body id="main">

<div class="map">
	管理首页 &gt;&gt; 调查投票管理 &gt;&gt; <strong id="title">查看投票项目</strong>
</div>

<ol>
	<li><a href="__URL__/index" class="selected">投票主题列表</a></li>
	<li><a href="__URL__/add">新增投票主题</a></li>
	<li><a href="__URL__/showItem/sid/{$sid}">查看投票项目</a></li>
</ol>
<table cellspacing="0">
	<tr><th>编号</th><th>投票项目</th><th>得票数</th><th>操作</th></tr>
	<if condition="$list">
	<volist name="list" id="vo">
	<tr>
		<td>{$vo.id}</td>
		<td>{$vo.title}</td>
		<td>{$vo.count}</td>
		<td><a href="__URL__/editItem/id/{$vo.id}/sid/{$sid}">修改</a> | <a href="__URL__/deleteItem/id/{$vo.id}" onclick="return confirm('你真的要删除这个投票吗？') ? true : false">删除</a></td>
	</tr>
	</volist>
	<else />
	<tr><td colspan="4">对不起，没有任何数据</td></tr>
	</if>
	<tr><td colspan="4">所属主题：<strong>{$voteSub.title}</strong> [<a href="__URL__/addItem/sid/{$voteSub.id}">增加本项</a>] [<a href="__URL__/index">返回列表</a>]</td></tr>
</table>
<div id="page">{$page}</div>
</body>
</html>